<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<link rel="stylesheet" type="text/css" href="modificar.css">
	<title></title>
</head>
<body>
	<div id="menu">
		<ul>
			<a href="index.php"><li>Pagina Inicial</a></li> 
			<a href="mdf_grupos.php"><li>Gerenciar Grupos</a></li> 
			<a href="<?php #echo "autenticar.php?acao=logout"; ?>"><li>Sair</a></li>
		</ul>
	</div>
	<div id="pesquisa">
		<form action"" method="POST">
			<table>
				<tr>
					<td>Usuario</td>
					<td><input type="text" name="user" /></td>
				</tr>
				<tr>
					<td></td>
					<td><input type="submit" name="select" value="OK" /></td>
				</tr>
			</table>
		</form>
		<?php
			if($_POST['user'] != ''){
					echo "Você está modificando o usuário " . $_POST['user'] . "!";
					
			}	
		?>
	</div>
	<div id="tb_modif">
		<form action="tb_modificar.php" method="POST">
			<table>
				<tr>
					<td class="td_text">Modificar Departamento</td>
					<td><input type="text" name="setor" /></td>
				</tr>
				<tr>
					<td class="td_text">Modificar Telefone</td>
					<td><input type="text" name="tele" /></td>
				</tr>
				<tr>
					<td class="td_text">Modificar Ramal</td>
					<td><input type="text" name="ramal" /></td>
				</tr>
				<tr>
					<td class="td_text">Nova Senha</td>
					<td><input type="password" name="nova_senha" /></td>
				</tr>
				<tr>
					<td></td>
					<td><input type="checkbox" name="desabilitar" value="-I" /> Desabilitar</td>
				</tr>
				<tr>
					<td></td>
					<td><input type="checkbox" name="habilitar" value="-J" /> Habilitar</td>
				</tr>
				<tr>
					<td class="td_text">Novo grupo</td>
					<td><input type="text" name="novo_grupo" /></td>
				</tr>
				<tr>
					<td class="td_text">Remover grupo</td>
					<td><input type="text" name="rm_grupo" /></td>
				</tr>
				<tr>
					<td class="td_text">Novo Home</td>
					<td><select name="novo_dir">
						<option value=""></option>
						<option value="H:">H:</option>
						<option value="I:">I:</option>
						<option value="J:">J:</option>
						<option value="K:">K:</option>
						<option value="L:">L:</option>
						<option value="M:">M:</option>
						<option value="N:">N:</option>
						<option value="O:">O:</option>
						<option value="P:">P:</option>
						<option value="Q:">Q:</option>
						<option value="R:">R:</option>
						<option value="S:">S:</option>
						<option value="T:">T:</option>
						<option value="U:">U:</option>
						<option value="V:">V:</option>
						<option value="W:">W:</option>
						<option value="X:">X:</option>
						<option value="Y:">Y:</option>
						<option value="Z:">Z:</option>
					</select></td>
				</tr>
				<tr>
					<td class="td_text">Novo script</td>
					<td><input type="text" name="novo_script" /></td>
				</tr>
				<tr>
					<td></td>
					<td><input type="submit" name="modificar" value="Modificar" /></td>
				</tr>
			</table>
			<input type="hidden" name="login" value="<?php echo $_POST['user']; ?>" />
		</form>
	</div>
	<div id="usuarios_grupos">
		<form action="user_grupo.php" method="POST" target="pesq_iframe">
			<table>
				<tr>
					<td>Pesquisar usuário por grupo</td>
				</tr>
				<tr>
					<td>Grupo: </td>
					<td><input type="text" name="pesq_user" /></td>
				</tr>
				<tr>
					<td><input type="submit" name="pesquisar" value="Pesquisar" /></td>
				</tr>
			</table>
			<iframe src="user_grupo.php" name="pesq_iframe"></iframe>
		</form>
	</div>
	<div id="inform">
	</div>
	<div id="listar_usuario">
		<p class="td_text">Lista de Usuários</p>
		<iframe src="list_user.php"></iframe>
	</div>
	<div id="listar_script">
		<p class="td_text">Lista de Scripts</p>
		<iframe src="list_scr.php"></iframe>
	</div>
	<div id="listar_grupos">
		<p class="td_text">Lista de Grupos</p>
		<iframe src="listgroups.php"></iframe>
	</div>
	<div id="footer"></div>
</body>
</html>